package org.bbd.cumi.page;

import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.List;

import org.bbd.cumi.bean.Summary_Date;

public abstract class LogView extends BaseCumiPage {
	
	public abstract Summary_Date getSummary_Date();

	public List<Summary_Date> getSummaryDateList()
	{
		return getAccessFacade().listAllSummaryDate();
	}
	
	public String getDate()
	{
		Summary_Date sum=getSummary_Date();
		return sum.getDate() + "-" + sum.getMonth() + "-" + sum.getYear();
	}
	
	public String getSize()
	{
		return formatByte(getSummary_Date().getSize());
	}
}
